package com.db.server.task;

import com.db.derby.DBAccess;

/**
 * Created by Student on 27.11.2014.
 */
public class TaskGetHistory implements Task {
    private DBAccess db;

    public TaskGetHistory(DBAccess db) {
        this.db = db;
    }

    @Override
    public String doTask() {
        return db.getHistory();
    }
}
